package tp.pr5.mv.instructions.arithmetic;

import tp.pr5.mv.Opcode;
import tp.pr5.mv.instructions.MonaryInstructions;

public class NEG extends MonaryInstructions {
	
	public NEG() {
		
		op = Opcode.NEG;
	}
	
	public int modify( int op1 ) {
		
		return -1*op1;     // Cambiamos de signo a la cima de la pila
		
	}
	

}
